Skip to content

test(e2e): transfers through a gateway keep their promises - #571

Merged
V3RON merged 4 commits into
task/558from
task/559
Oct 14, 2026
Merged

V3RON merged 4 commits into
task/558from
task/559

Conversation

@V3RON

@V3RON V3RON commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Closes #559

Status

Implement: done (10/10 green, audit 10/11 probed) Review: skipped at the maintainer's request Hardware: not run Gate: run on the stack

Green: every spec test passes locally (timing project, 9/9); the slow-lane 1.5x upload test is written and typechecked, but not run: it needs the slow lane.

Done when

  • Every Tests line passes, and CI runs the timing project (CI green on the head).
  • On a Mac with an iOS runtime and the agent-device checks of toolchain.md: "a 1 GiB upload takes at most 1.5 times as long through the gateway as straight to the worker" passes in e2e/slow-agent-device-gateway.test.ts.

Assumptions

  • Assumption: patternBytes changed to AES-128 in counter mode keyed by the seed — a 2 GiB pattern must generate in seconds, and tests compare only against patternBytes/patternDigest, so no expected value changed.
  • Assumption: the preflight answer's upload id is read from its top-level uploadId and the ticket's upload.url and upload.headers are used as given — read from agent-device's resumable-upload.ts at the pinned commit; the lease id is also sent on the direct PUT.

Review

Spec review: skipped. Code review: skipped. Claims review: skipped.
Rounds: 0. Tokens: 11M.

The maintainer asked for the merge gate without a review round for this PR. The slow-lane 1.5x upload test was not run.

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 14, 2026 15:02
@V3RON
V3RON added this pull request to stack #566 October 14, 2026 15:03
@V3RON
V3RON merged commit 74743ac into main Oct 14, 2026
35 of 45 checks passed
@V3RON
V3RON deleted the task/559 branch October 14, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(e2e): transfers through a gateway keep their promises

1 participant